Disable version mismatch check.
---- a/gui/preferences.ui
-+++ b/gui/preferences.ui
+--- a/gpsbabel/gui/preferences.ui
++++ b/gpsbabel/gui/preferences.ui
@@ -53,13 +53,6 @@
</property>
</widget>
</layout>
</widget>
</widget>
---- a/gui/preferences.cpp
-+++ b/gui/preferences.cpp
+--- a/gpsbabel/gui/preferences.cpp
++++ b/gpsbabel/gui/preferences.cpp
@@ -41,7 +41,6 @@ Preferences::Preferences(QWidget* parent
ui_.startupCheck->setChecked(bd_.startupVersionCheck);
ui_.reportStatisticsCheck->setChecked(bd_.reportStatistics);
- ui_.ignoreVersionMismatchCheck->setChecked(bd_.ignoreVersionMismatch);
// Because of an unfortunate bug in 1.4.0, we turn this off in 1.4.1.
- if (VERSION == "1.4.1")
+ if (VERSION == QString("1.4.1"))
bd_.ignoreVersionMismatch = false;
@@ -84,7 +83,6 @@ void Preferences::acceptClicked()
accept();
}
---- a/gui/babeldata.h
-+++ b/gui/babeldata.h
+--- a/gpsbabel/gui/babeldata.h
++++ b/gpsbabel/gui/babeldata.h
@@ -66,7 +66,7 @@ public:
startupVersionCheck(true),
reportStatistics(true),
Disable check for newer versions on start.
---- a/gui/preferences.ui
-+++ b/gui/preferences.ui
+--- a/gpsbabel/gui/preferences.ui
++++ b/gpsbabel/gui/preferences.ui
@@ -40,13 +40,6 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<widget class="QCheckBox" name="reportStatisticsCheck">
<property name="text">
<string>Anonymously report usage data.</string>
---- a/gui/preferences.cpp
-+++ b/gui/preferences.cpp
+--- a/gpsbabel/gui/preferences.cpp
++++ b/gpsbabel/gui/preferences.cpp
@@ -39,7 +39,6 @@ Preferences::Preferences(QWidget* parent
{
ui_.setupUi(this);
- ui_.startupCheck->setChecked(bd_.startupVersionCheck);
ui_.reportStatisticsCheck->setChecked(bd_.reportStatistics);
// Because of an unfortunate bug in 1.4.0, we turn this off in 1.4.1.
- if (VERSION == "1.4.1")
+ if (VERSION == QString("1.4.1"))
@@ -81,7 +80,6 @@ void Preferences::acceptClicked()
formatList_[i].setHidden(item->checkState() == Qt::Unchecked);
}
bd_.reportStatistics = ui_.reportStatisticsCheck->isChecked();
accept();
}
---- a/gui/babeldata.h
-+++ b/gui/babeldata.h
+--- a/gpsbabel/gui/babeldata.h
++++ b/gpsbabel/gui/babeldata.h
@@ -63,7 +63,7 @@ public:
upgradeErrors(0),
upgradeOffers(0),
reportStatistics(false),
allowBetaUpgrades(false),
ignoreVersionMismatch(true),
---- a/gui/mainwinui.ui
-+++ b/gui/mainwinui.ui
+--- a/gpsbabel/gui/mainwinui.ui
++++ b/gpsbabel/gui/mainwinui.ui
@@ -641,7 +641,6 @@
<addaction name="actionHelp"/>
<addaction name="separator"/>
<action name="actionVisit_Website">
<property name="text">
<string>Visit Website...</string>
---- a/gui/mainwindow.cpp
-+++ b/gui/mainwindow.cpp
-@@ -153,7 +153,6 @@ MainWindow::MainWindow(QWidget* parent):
+--- a/gpsbabel/gui/mainwindow.cpp
++++ b/gpsbabel/gui/mainwindow.cpp
+@@ -162,7 +162,6 @@ MainWindow::MainWindow(QWidget* parent):
connect(ui.actionAbout, SIGNAL(triggered()), this, SLOT(aboutActionX()));
connect(ui.actionVisit_Website, SIGNAL(triggered()), this, SLOT(visitWebsiteActionX()));
connect(ui.actionMake_a_Donation, SIGNAL(triggered()), this, SLOT(donateActionX()));
connect(ui.actionPreferences, SIGNAL(triggered()), this, SLOT(preferencesActionX()));
connect(ui.inputFormatCombo, SIGNAL(currentIndexChanged(int)),
-@@ -197,19 +196,8 @@ MainWindow::MainWindow(QWidget* parent):
+@@ -218,19 +217,8 @@ MainWindow::MainWindow(QWidget* parent):
//--- Restore from registry
restoreSettings();
}
//------------------------------------------------------------------------
-@@ -926,10 +914,6 @@ void MainWindow::applyActionX()
+@@ -1060,10 +1048,6 @@ void MainWindow::applyActionX()
//------------------------------------------------------------------------
void MainWindow::closeActionX()
{
---- a/gbversion.h.in
-+++ b/gbversion.h.in
+--- a/gpsbabel/gbversion.h.in
++++ b/gpsbabel/gbversion.h.in
@@ -5,4 +5,4 @@
* Isn't simplification via automation grand?
*/
#define VERSION "@GBMAJOR@.@GBMINOR@.@GBMICRO@@PACKAGE_RELEASE@"
-#define WEB_DOC_DIR "http://www.gpsbabel.org/htmldoc-@DOCVERSION@"
+#define WEB_DOC_DIR "file:///usr/share/doc/gpsbabel/htmldoc/index.html"
---- a/gui/help/gpsbabel.html
-+++ b/gui/help/gpsbabel.html
+--- a/gpsbabel/gui/help/gpsbabel.html
++++ b/gpsbabel/gui/help/gpsbabel.html
@@ -1,3 +1,3 @@
<p>This is the local help. It currently isn't very helpful.</p>
-<p>The <a href="http://www.gpsbabel.org/htmldoc-development"> online help
+<p>The <a href="file:///usr/share/doc/gpsbabel/htmldoc/index.html"> online help
is mo betta.</p>
---- a/xmldoc/gpsbabel_man.xml
-+++ b/xmldoc/gpsbabel_man.xml
+--- a/gpsbabel/xmldoc/gpsbabel_man.xml
++++ b/gpsbabel/xmldoc/gpsbabel_man.xml
@@ -79,7 +79,7 @@ or as the backend for other tools. </par
<listitem> <para>Display help that is more exhaustive than this page. If <replaceable>format</replaceable> is given, provide help for only that format.</para> </listitem>
</varlistentry>